package com.jinlejia.erp.bean;


import android.os.Parcel;

import com.litesuits.orm.db.annotation.PrimaryKey;
import com.litesuits.orm.db.enums.AssignType;

/**
 * @author 王进 on 2019/1/17.
 */

public class SearchHouseHistoryBean{

    @PrimaryKey(AssignType.AUTO_INCREMENT)
    private long id;
    public SearchHouseHistoryBean(){

    }
    public SearchHouseHistoryBean(String name, String reCode,String area,String county) {
        this.name = name;
        this.reCode = reCode;
        this.area = area;
        this.county = county;
    }
    private String area;//片区

    private String county;//区县

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getCounty() {
        return county;
    }

    public void setCounty(String county) {
        this.county = county;
    }

    private String name;

    private String reCode;

    private SearchHouseHistoryBean(Parcel in) {
        id = in.readLong();
        name = in.readString();
        reCode = in.readString();
        area = in.readString();
        county = in.readString();
    }

    public long getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getReCode() {
        return reCode;
    }

    public void setReCode(String reCode) {
        this.reCode = reCode;
    }

}
